@import url('https://fonts.googleapis.com/css?family=Poppings:100,200,300,400,500,600,700,800,900&display=swap');


* {

    font-family: 'Poppings', sans-serif;
    margin: 0px;
}

body {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #131313;
}

.container {
    position: relative;
}

.container .card {
    position: relative;
    width: 320px;
    height: 450px;
    border-radius: 20px;
    background-color: #232323;
    overflow: hidden;
}


.container .card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9bdc28;
    /*遮罩*/
    clip-path: circle(150px at 80% 20%);
    transition: 0.5s ease-in-out;
}

.container .card:hover:before {
    clip-path: circle(300px at 80% -20%);
    transition: 0.5s ease-in-out;

}


.container .card:after {
    content: 'Nike';
    position: absolute;
    top: 30%;
    left: -20%;
    font-size: 12em;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, 0.04);
}

.container .card .imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.container .card:hover .imgBx {
    top: 0%;
    transform: translateY(0%);
}


/*素材有毒 稍微调整下下*/
.container .card .imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 270px;
    transform: translate(-50%, -50%) rotateY(180deg) rotate(25deg)
}

.container .card .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    transition: 1s;
    z-index: 10;
}

.container .card:hover .contentBx {
    height: 210px;
}


.container .card .contentBx .size,
.container .card .contentBx .color {

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
}

.container .card:hover .contentBx .size{
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;

}

.container .card:hover .contentBx .color{
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;

}

.container .card .contentBx h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;

}


.container .card .contentBx .size h3,
.container .card .contentBx .color h3 {
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    margin-right: 10px;
}

.container .card .contentBx .size span {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
    display: inline-block;
    color: #111;
    background-color: #fff;
    margin: 0 5px;
    transition: 0.5s;
    cursor: pointer
}

.container .card .contentBx .size span:hover {
    background: #9bdc28;
}

.container .card .contentBx .color span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff0;
    margin: 0 5px;
    cursor: pointer
}

.container .card .contentBx .color span:nth-child(2) {
    background: #9bdc28;
}

.container .card .contentBx .color span:nth-child(3) {
    background: #03a9f4
}

.container .card .contentBx .color span:nth-child(4) {
    background: #e91e63
}

.container .card .contentBx a {
    display:  inline-block;
    background-color: #fff;
    padding: 10px 20px;
    color:  #111;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.5s;
}

.container .card:hover .contentBx a{
    opacity:1;
    transform: translateY(0px);
    transition-delay: 0.75s;
}